/**
 * 
 */
package com.toncen.samepms.common;

import java.util.List;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

/**
 * 树基类
 * 
 * @author tch
 * 
 */
public abstract class AbstractTreeProvider<Tree extends ITreeable> {
	/**
	 * 树配置文件
	 */
	public final static String FILE_TREE = "/tree.properties";

	/**
	 */
	protected Log logger = LogFactory.getLog(this.getClass());

	/**
	 * 
	 */
	public AbstractTreeProvider() {
	}

	/**
	 * 获取根节点
	 * 
	 * @return
	 * @throws Exception
	 */
	public abstract List<Tree> getRoots() throws Exception;

}
